package binary;

public class HexDemo {
    public static void main(String[] args) {
        int n = 0x2fd447b;
        int m = 0b10_1111_1101_0100_0111_1011;
        System.out.println(Integer.toBinaryString(n));
        System.out.println(Integer.toBinaryString(m));
        System.out.println(Integer.toHexString(n));
        System.out.println(Integer.toHexString(m));
        System.out.println(n);
        System.out.println(m);
    }
}
